package db

type MysqlConfig struct {
	Default MysqlDefault
	Log     MysqlLog
}

type MysqlDefault struct {
	Ip              string
	Port            int
	Username        string
	Password        string
	DbName          string
	ConnectTimeout  int
	MaxIdleConn     int
	MaxOpenConn     int
	ConnMaxLifetime int
}

type MysqlLog struct {
	RootDir       string
	ShowLine      bool
	MaxBackups    int
	MaxSize       int
	MaxAge        int
	Compress      bool
	SlowThreshold int
}
